#include "TcpServer.hpp"
void func()
{}
int main(int argc,char* argv[])
{
    if(argc!=2)
    {
        LOG(Level::ERROR)<<"Usage "<<argv[0]<<" port";
        exit(USAGE_ERRO);
    }
    unique_ptr<TcpServer> tps(make_unique<TcpServer>(stoi(argv[1]),func));
    tps->Init();
    tps->Run();
    return 0;
}